from pyecharts.charts import Bar
from pyecharts.options import LabelOpts

bar=Bar()

bar.add_xaxis(["中","美","俄"])
bar.add_yaxis("GDP",[40,30,20],label_opts=LabelOpts(position="right"))

bar.reversal_axis()

bar.render("demo_bar.html")